package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Vo extends Emp{
    @TableId(value = "did",type = IdType.AUTO)
    private Integer did;

    @TableField(value = "dname")
    private String dname;

    @TableField(value = "createTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    @TableId(value = "zid",type = IdType.AUTO)
    private Integer zid;

    @TableField(value = "zname")
    private String zname;

}
